﻿using ErrorOr;

namespace Gym.Domain.GymAggregate
{
    public static class GymErrors
    {
        public static readonly Error CannotHaveMoreRoomsThanSubscriptionAllows = Error.Validation(
        "Room.CannotHaveMoreRoomsThanSubscriptionAllows",
        "健身房的房间不能超过订阅允许的数量");
    }
}
